package com.we.wecc.aw.db.mapper;

import com.we.wecc.aw.db.model.AwardSpeech;
import com.we.wecc.aw.db.model.AwardSpeechExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface AwardSpeechMapper {
    long countByExample(AwardSpeechExample example);

    int deleteByExample(AwardSpeechExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AwardSpeech record);

    int insertSelective(AwardSpeech record);

    List<AwardSpeech> selectByExampleWithRowbounds(AwardSpeechExample example, RowBounds rowBounds);

    List<AwardSpeech> selectByExample(AwardSpeechExample example);

    AwardSpeech selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AwardSpeech record, @Param("example") AwardSpeechExample example);

    int updateByExample(@Param("record") AwardSpeech record, @Param("example") AwardSpeechExample example);

    int updateByPrimaryKeySelective(AwardSpeech record);

    int updateByPrimaryKey(AwardSpeech record);
}